package com.huey.utils.design.structure.proxy.demo1;

import com.huey.utils.design.structure.proxy.demo1.ChanelFactory;
import com.huey.utils.design.structure.proxy.demo1.XiaoHongSellProxy;

/**
 * @author xubo
 * @date 2022/3/30 11:23
 */
public class XiaoMing {

    public static void main(String[] args) {
        ChanelFactory factory = new ChanelFactory();
        XiaoHongSellProxy proxy = new XiaoHongSellProxy(factory);
        proxy.sellPerfume(1999.99);
    }
}
